//
//  BKMainAction.m
//  bestkeep
//
//  Created by 武探 on 2016/11/3.
//  Copyright © 2016年 utouu. All rights reserved.
//

#import "BKMainAction.h"
#import "BKMainViewController.h"
#import "BKPhoneCardsViewController.h"
#import "BKFeaturedViewController.h"
#import "BKIntegralViewController.h"

@interface BKMainAction()

@property(nonatomic,strong) BKMainViewController *mainController;

@end

@implementation BKMainAction

-(UIViewController *)mainViewController {
    if(!self.mainController) {
        self.mainController = [[BKMainViewController alloc] init];
    }
    
    return self.mainController;
}

-(id)refreshData{
    [self.mainController refreshFirstPageData];
    return nil;
}
@end


@implementation BKPhoneCardsAction

-(UIViewController *)phoneCardsViewController{
    BKPhoneCardsViewController *phoneCardsController = [[BKPhoneCardsViewController alloc]init];
    return phoneCardsController;
}

@end



@implementation BKFeaturedAction

-(UIViewController *)featuredViewController{
    BKFeaturedViewController *featuredController = [[BKFeaturedViewController alloc]init];
    featuredController.isfirst = YES;
    return featuredController;
}

@end


@implementation BKSignAction

-(UIViewController *)integralViewController{
    BKIntegralViewController *integralViewController = [[BKIntegralViewController alloc]init];
    return integralViewController;
}

@end








